package com.java.tutorials.designpattern.behavioral.state;

/**
 * Created by xuzhike on 2016/3/13.
 */
//慢速档:
class Low extends State {
    public void pull( Car wrapper ) {
        wrapper.setState( new Medium() );
        System.out.println( "挂中速" );
    }
}
